package com.shuwen.gcdj.dto.file;

import lombok.Data;
import org.springframework.stereotype.Component;

import java.util.List;

/***
 ** Created by ljf
 ** Date:2023/3/15
 */
@Component
@Data
public class ExcelStateDataDto {

    //成功条目
    private Integer successCount = 0;

    //失败条目
    private Integer errorCount = 0;

    //错误信息
    private List<String> errList;

    public void setErrList(List<String> errList) {
        this.errList = errList;
        this.errorCount = errList.size();
    }


}
